<?php
	include(APP.'plugins'.DS.'searchable'.DS.'config'.DS.'routes.php');
	Router::connect('/:language/:controller/:action/*',
							array(),
							array('language' => '[a-z]{3}'));
	Router::connect('/', array('controller' => 'news', 'action' =>'home'));
	Router::connect('/admin', array('admin' => true,'controller' => 'pages', 'action' => 'display','admin_home' ));
	Router::connect('/admin/logout', array('admin' => true,'controller' => 'users', 'action' => 'logout'));
	Router::connect('/admin/login', array('admin' => true, 'controller' => 'users', 'action' => 'login'));
	//Router::connect('/admin/acl/aros/ajax_role_permissions', array('admin' => true,'plugin'=>'acl','controller'=>'aros','action' => 'ajax_role_permissions'));
	Router::connect('/:language', array('controller' => 'news', 'action' =>'home'));
	Router::connect('/gioi-thieu.html', array('controller' => 'intros', 'action' =>'index'));
	Router::connect('/gioi-thieu/*', array('controller' => 'intros', 'action' =>'chitiet'));
	Router::connect('/tin-tuc.html', array('controller' => 'news', 'action' =>'index'));
	Router::connect('/tin-tuc/chi-tiet/*', array('controller' => 'news', 'action' =>'chitiet'));
	Router::connect('/nhom-tin/*', array('controller' => 'news', 'action' =>'catenews'));
	Router::connect('/san-pham.html', array('controller' => 'products', 'action' =>'index'));
	Router::connect('/san-pham/chi-tiet/*', array('controller' => 'products', 'action' =>'chitiet'));
	Router::connect('/nhom-san-pham/*', array('controller' => 'products', 'action' =>'cateproduct'));
	Router::connect('/giai-phap/chi-tiet/*', array('controller' => 'solutions', 'action' =>'chitiet'));
	Router::connect('/giai-phap.html', array('controller' => 'solutions', 'action' =>'index'));
	Router::connect('/nhom-giai-phap/*', array('controller' => 'solutions', 'action' =>'catesolution'));
	Router::connect('/dich-vu.html', array('controller' => 'services', 'action' =>'index'));
	Router::connect('/dich-vu/chi-tiet/*', array('controller' => 'services', 'action' =>'chitiet'));
	Router::connect('/nhom-dich-vu/*', array('controller' => 'services', 'action' =>'cateservice'));
	Router::connect('/khach-hang.html', array('controller' => 'guests', 'action' =>'index'));
	Router::connect('/lien-he.html', array('controller' => 'contacts', 'action' =>'index'));

	

?>